using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using FlatRedBall;

using HarpoonMan.PlayerObjects;
using HarpoonMan.Utilities;

namespace HarpoonMan.Screens
{
    public class GameScreen : Screen
    {

        #region Fields

        private Player _player;

        #endregion

        #region Methods

        #region Constructor and Initialize

        public GameScreen()
            : base("GameScreen")
        {
            // Don't put initialization code here, do it in
            // the Initialize method below
            //   |   |   |   |   |   |   |   |   |   |   |
            //   |   |   |   |   |   |   |   |   |   |   |
            //   V   V   V   V   V   V   V   V   V   V   V
        }

        public override void Initialize(bool addToManagers)
        {
            // Set the screen up here instead of in the Constructor to avoid
            // exceptions occurring during the constructor.

			// AddToManagers should be called LAST in this method:
			if(addToManagers)
			{
				AddToManagers();
			}
        }

		public override void AddToManagers()
        {
            GameManager.LoadLevel();
		}
		
        #endregion

        #region Public Methods

        public override void Activity(bool firstTimeCalled)
        {
            //base.Activity(firstTimeCalled);
            GameManager.Activity();
        }

        public override void Destroy()
        {
            base.Destroy();

            _player.Destroy();
        }

        #endregion

		
        #endregion
    }
}

